home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
ceditl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
705b
|
29 lines
#ifndef __CAPTURE_EDIT_LINE_H_
#define __CAPTURE_EDIT_LINE_H_
#include "editl.h"
enum CAPTURE_POS { C_LEFT, C_TOP, C_RIGHT, C_BOTTOM };
class CaptureEditLine : public EditLine
{
protected:
char* header;
CAPTURE_POS where;
int hdr_pat;
public:
CaptureEditLine(loc pos, int l, char* hdr = "",
CAPTURE_POS wh = C_RIGHT, int max_len = 0,
BORDERS b_type = BUTTON_BORDER, int pat = 0, int h_pat = 0,
int insert = 1)
: EditLine(pos, l, max_len, b_type, pat, insert)
{
header = strdup(hdr);
hdr_pat = h_pat;
where = wh;
}
~CaptureEditLine() { delete header; }
virtual void show();
};
#endif __CAPTURE_EDIT_LINE_H_